package net.siufung.boot.datasource.dto;

import lombok.Data;
import net.siufung.boot.datasource.rules.IDbType;

import java.io.Serializable;
import java.sql.Connection;

/**
 * @author 陈建峰
 * @since 2022/8/15 9:55 下午
 */
@Data
public class TableNamesDto implements Serializable {

    private static final long serialVersionUID = 1788858974473903158L;

    /**
     * 数据库类型
     */
    private IDbType dbType;

    /**
     * 数据库链接
     */
    private Connection connection;

    /**
     * 数据表集合
     */
    private String[] tableNames;

}
